/**
 * Created by Mark_ren on 2016/11/28.
 * 苟富贵,無相忘
 */

var express = require('express');
var router = express.Router();
var jwytAuthController = require("../../api/v2.0/admin/jwytAuth_controller.js");

router.get('/', jwytAuthController.getJwytAuthPage);

router.get('/:id', jwytAuthController.getJwytAuthById);

router.post('/', jwytAuthController.addJwytAuth);

router.put('/:id', jwytAuthController.updateJwytAuth);

router.delete('/', jwytAuthController.deleteJwytAuth);

module.exports = router;